SG Window Globals Object
RegisterClass Method

©1998 by Stinga

Properties     Methods     Events     Constants     Error Codes
Description

The RegisterClass method registers a window class for subsequent use in calls to the Create method of the Window object. Returns string that uniquely identifies the class being registered.

Syntax

object.RegisterClass(style As ClassStyle)

Part Description
object The object is expression that evaluates to the Globals object.
style Optional. New window class style. Class styles are constants from ClassStyle enumeration.
Remarks

All window classes that an application registers are unregistered when it terminates.

Windows 95: All window classes that a DLL registers are unregistered when the DLL is unloaded.

Windows NT: Windows classes that a DLL registers are not unregistered when the DLL is unloaded.